package cn.xfdzx.android.apps.shop.contract;

import java.util.List;
import java.util.Map;

import cn.xfdzx.android.apps.shop.base.BaseView;
import cn.xfdzx.android.apps.shop.bean.AfterServiceUpLoadMoreImgBean;
import cn.xfdzx.android.apps.shop.bean.AfterServiceUpLoadSingImgBean;
import cn.xfdzx.android.apps.shop.bean.MyFocusShopBean;
import cn.xfdzx.android.apps.shop.bean.OrderDetailInfoBeen;
import cn.xfdzx.android.apps.shop.bean.OrderProcessBeen;
import cn.xfdzx.android.apps.shop.bean.ReturnReasonBean;
import cn.xfdzx.android.apps.shop.bean.StoreInfoBeen;
import io.reactivex.Flowable;
import okhttp3.MultipartBody;


/**
 * @author zf
 * @date 2020/7/20.
 * Description：关注店铺
 */

public interface MyFocusShopContract {
    interface Model {
        Flowable<MyFocusShopBean> getFocusList(String limit,int page);

        Flowable<StoreInfoBeen> getCancleFocus(String storeid);
    }

    interface View extends BaseView {
        /**
         * 刷新完成
         */
        void finishRefresh();

        /**
         * 加载完成
         */
        void finishLoadMore();
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void getFocusListSuccess(MyFocusShopBean bean);

        void getCancleFocusSuccess(StoreInfoBeen bean);

    }

    interface Presenter {
        /**
         *取消关注
         */
        void getCancleFocus(String storeid);

        /**
         *关注列表
         */
        void getFocusList(boolean isRefresh, boolean isLoading,String limit,int page);

    }
}
